package com.woniu.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_order_comment")
public class TOrderComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "order_comment_id", type = IdType.AUTO)
    private Integer orderCommentId;

    @TableField("order_num")
    private String orderNum;

    @TableField("gym_num")
    private String gymNum;

    @TableField("coach_id")
    private Integer coachId;

    /**
     * 5
     */
    @TableField("coach_score")
    private Double coachScore;

    @TableField("content")
    private String content;

    @TableField("order_image")
    private String orderImage;

    @TableField("replay")
    private String replay;

    /**
     * 0 未回复 1 已回复
     */
    @TableField("replay_flag")
    private Integer replayFlag;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 用户姓名
     */
    @TableField("user_name")
    private String userName;

    @TableField("content_date")
    private LocalDateTime contentDate;

    /**
     * 1.未删除 2.已删除
     */
    @TableField("delete_flag")
    private Integer deleteFlag;

    /**
     * 5
     */
    @TableField("gym_score")
    private Double gymScore;


}
